package com.jiyun.feign;

import com.jiyun.entity.day04.KcDTO1;
import com.jiyun.vo.ResultResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Title: KcFeign
 * @Author 杜瑞
 * @Date 2023/8/25 16:15
 */
@FeignClient(name = "day09-kc")
public interface KcFeign {

    @RequestMapping("/kc/findAll1")
    public ResultResponse findAll1(@RequestBody KcDTO1 kcDTO1);

    @RequestMapping("/kc/findAllDate")
    public ResultResponse findAllDate(@RequestBody KcDTO1 kcDTO1);

    @RequestMapping("/kc/findAllMax")
    public ResultResponse findAllMax(@RequestBody KcDTO1 kcDTO1);

}
